﻿<?xml version="1.0" encoding="utf-8" ?>
<log4net>
    <root>
        <level value="DEBUG" />
    </root>

    <logger name="CommonLogger">
        <level value="debug" />
        <appender-ref ref="RollingFile" />
    </logger>

    <appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
        <file value="../../trace.log"/>
        <appendToFile value="true" />
        <maximumFileSize value="1000KB" />
        <maxSizeRollBackups value="10" />
        <staticLogFileName value="true" />
        <lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
        <layout type="log4net.Layout.PatternLayout">
            <conversionPattern value="%date{yyyy-MM-dd HH:mm:ss} - %logger %level - %message%newline" />
        </layout>
    </appender>
</log4net>